/******************************************************************************
*    This file is part of Zee.
*
*    Zee is free software: you can redistribute it and/or modify
*    it under the terms of the GNU General Public License as published by
*    the Free Software Foundation, either version 3 of the License, or
*    (at your option) any later version.
*
*    Zee is distributed in the hope that it will be useful,
*    but WITHOUT ANY WARRANTY; without even the implied warranty of
*    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
*    GNU General Public License for more details.
*
*    You should have received a copy of the GNU General Public License
*    along with Zee.  If not, see <http://www.gnu.org/licenses/>.
******************************************************************************/

#include "zfolderview.h"

ZFolderView::ZFolderView(const ZConfig &el, QWidget *parent)
  : ZFileBrowser(el,parent){
  init();
}

ZFolderView::ZFolderView(QDir initDirectory, const ZConfig &el, QWidget *parent)
  : ZFileBrowser(el,parent){
  init();
  cd(initDirectory);
}

ZFolderView::ZFolderView(QString initDirectory, const ZConfig &el, QWidget *parent)
  : ZFileBrowser(el,parent){
  init();
  cd(initDirectory);
}

void ZFolderView::init(){
//  setWrapping(true);
//  setWordWrap(true);
//  setSelectionRectVisible(true);
//  setSelectionMode(QAbstractItemView::ExtendedSelection);
}
